/**
 * 通用样式表
 */

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
}

/*下拉框下拉图标*/
.x-form-trigger-default {
    background: transparent url(/report/image/common/trigger.png) no-repeat;
}

/* 换行表头 */
.x-column-header-text-normal {
	white-space:normal;
}

/* 不换行表头  */
.x-column-header-text-nowrap {
	white-space:nowrap;
}

/*下拉框清除图标*/
.x-form-clear-trigger {
    background-image: url(/report/image/common/clear-trigger.png);
}

/*日期控件图标*/
.x-form-date-trigger {
    background-image: url(/report/third/ext5.1/packages/ext-theme-neptune/build/resources/images/form/date-trigger.png);
}

/*调整工具栏图标亮度*/
.x-tool-img {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

.x-tool-pressed .x-tool-img {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

/*表格编辑：必录项背景色*/
.grid-cell {
    background-color: #ffe850;
}

/*表格编辑：禁录项背景色*/
.grid-cell-unedit {
    background-color: #E6E6E6;
}

/*表格选择：禁止选择项背景色*/
.grid-row-disabled {
    background-color: #E6E6E6;
}

/*表单只读项*/
.form-unedit {
    background-color: #E6E6E6;
}

.form-unedit-number {
    background-color: #E6E6E6;
    text-align: right;
}

/*表单必录项星标*/
span.required {
    color: #ff4441;
    font-size: 100%;
}

/*表格选中行,在底色和斑马线色前，所以不会起作用*/
.x-grid-item-selected {
    background-color: #c1ddf1;
}

/*表格行底色*/
.x-grid-item {
    background-color: #fff;
}

/*修改斑马线颜色：关联放置原css中行悬浮时背景色与选中背景色*/
.x-grid-item-alt {
    background-color: #f0f0f0;
}

/*表格选中行,在底色和斑马线色前，所以不会起作用*/
.x-tree-view .x-grid-item-selected {
    background-color: #c1ddf1;
}

/*表格悬浮行*/
.x-grid-item-over {
    background-color: #e2eff8;
}

/*表格点击行*/
.x-grid-item-click {
    background-color: #7eeef1;
}

/*按钮内文字字体*/
.x-btn-inner {
    font-family: SimHei;
    font-weight: normal;
}

/*小按钮内文字字体*/
.x-btn-inner-default-toolbar-small {
    font-size: 13px;
    color: #000;
}

/*表格合计行颜色高度*/
.x-grid-row-summary .x-grid-cell-inner {
    font-weight: bold;
    font-size: 14px;
    background-color: #ffd800;
}

/*附件控件：按钮通用样式*/
.uploadpanel-btn {
    float: left;
    cursor: pointer;
    margin-left: 10px;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
}

/*附件控件：上传按钮样式*/
.uploadpanel-btn-upload {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/*附件控件：上传按钮上层覆盖的附件上传表单和按钮样式*/
.uploadpanel-btn-upload .uploadForm {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.uploadpanel-btn-upload .uploadForm input {
    font-size: 16px;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    opacity: 0;
    cursor: pointer;
}

/*附件按钮样式*/
.uploadpanel-btn-upload {
    background-image: url('/report/image/sysbutton/upload.png');
}

.uploadpanel-btn-download {
    background-image: url('/report/image/sysbutton/download.png');
}

.uploadpanel-btn-delete {
    background-image: url('/report/image/sysbutton/delete.png');
}

.uploadpanel-btn-preview {
    background-image: url('/report/image/sysbutton/preview_pdf.png');
}

/*displayfield上边距修改，从而与其他form元素对齐*/
div.x-form-display-field-default {
    margin-top: 0;
    padding-top: 4px;
    padding-bottom: 3px;
}

div.x-form-display-field-body {
    line-height: 24px;
    margin-top: 0;
    padding-top: 0px;
    padding-bottom: 0px;
}

/*锁定列边框样式*/
.x-grid-locked .x-grid-inner-locked {
    border-width: 0px 1px 0px 0px;
    border-style: solid;
    border-color: #fff;
}

/*form表单不可编辑列透明*/
.x-form-item-default.x-item-disabled {
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.x-tab-default-top {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    background-color: rgb(75, 156, 215);
    padding: 7px 12px 6px;
    border-width: 2px;
    border-style: solid;
}

.x-treecombo-ui-trigger > div > table > tbody > tr > td > div > .x-tree-checkbox {
	pointer-events: none; cursor: default;
}

/*data-qtip样式英文强制换行*/
.x-tip{
	word-wrap:break-word;
	width:300px;
}
/**
解决华为触屏电脑tab页签空白显示问题
 */
 .x-scroll-scroller{
    min-width: auto;
    min-height: auto;
}
/* 解决表格排序时点击下拉，排序图标展示重叠 */
.x-column-header-inner{
    padding-right: 17px;
}
/* 表格的页码数宽度调整，并且文字居中显示 */
.x-tbar-page-number{
    width: 50px;
}
.x-tbar-page-number .x-form-text{
    text-align: center;
}
